package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.InChart;
import com.ruoyi.common.core.domain.entity.LeftoverIn;
import com.ruoyi.common.core.domain.entity.LeftoverInDetail;

import java.util.List;

/**
 * 用户表 数据层
 * 
 * @author ruoyi
 */
public interface LeftoverInMapper
{
    /**
     * 根据条件分页查询用户列表
     * 
     * @param leftoverInDetail 用户信息
     * @return 用户信息集合信息
     */
    List<LeftoverInDetail> selectLeftoverInList(LeftoverInDetail leftoverInDetail);


    LeftoverInDetail selectLeftoverByTableId(String inId);

    int updateLeftoverIn(LeftoverInDetail leftoverInDetail);

    void insertLeftoverIn(LeftoverIn leftoverIn);

    void insertLeftoverInDetail(LeftoverInDetail leftoverInDetail);

    int updateLeftoverInState(LeftoverInDetail leftoverInDetail);

    void updateLeftoverNum(LeftoverInDetail leftoverInDetail);

    List<LeftoverInDetail> selectLeftoverInDetailList(String inId);

    void updateLeftoverInDetail(LeftoverInDetail leftoverInDetail);

    List<InChart> selectLeftoverInChart(LeftoverInDetail leftoverInDetail);

    List<String> selectMaterial();

    int[] selectData(String material);

    int[] selectData1(String material);

}
